package org.bigdata.framework.core.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2018-08-16
 */
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 真实姓名
	 */
	private String realname;

	/**
	 * 昵称
	 */
	private String nickname;

	/**
	 * （0-个人用户 1-机构用户 2-机构下的个人用户）
	 */
	private Integer type;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;

	/**
	 * 创建ip地址
	 */
	@TableField(value="create_ip_address")
	private String createIpAddress;

	/**
	 * 头像
	 */
	@TableField(value="avatar_img")
	private String avatarImg;

	/**
	 * 状态（0-正常 1-禁用）
	 */
	private Integer status;

	/**
	 * 邮箱（非必填）
	 */
	private String email;

	/**
	 * 手机号（非必填）
	 */
	private String mobilephone;

	/**
	 * 所属机构（当type为1的时候，赋值type为2的对应数据的ID）
	 */
	@TableField(value="member_id")
	private Integer memberId;

	/**
	 * 学历
	 */
	private String education;

	/**
	 * 专业
	 */
	private String profession;

	/**
	 * 研究领域
	 */
	@TableField(value="research_field")
	private String researchField;

	/**
	 * 工作单位
	 */
	private String workunit;

	/**
	 * 职称
	 */
	private String title;

	/**
	 * 证件类型（0-身份证 1-军官证 2-护照 3-其他）
	 */
	@TableField(value="certificate_type")
	private Integer certificateType;

	/**
	 * 证件号
	 */
	@TableField(value="certificate_number")
	private String certificateNumber;

	/**
	 * 登录方式（0-用户名和密码 1-ip自动登录）
	 */
	@TableField(value="login_mode")
	private Integer loginMode;

	/**
	 * qq账号
	 */
	private String qq;

	/**
	 * 微信账号
	 */
	private String weixin;

	/**
	 * 新浪账号
	 */
	private String sina;

	/**
	 * 余额
	 */
	private BigDecimal balance;

	/**
	 * 已支付金额
	 */
	private BigDecimal payment;

	/**
	 * 年龄（0-199）
	 */
	private Integer age;

	/**
	 * 0-女 1-男 2-未知
	 */
	private Integer gender;

	/**
	 * 密钥
	 */
	private String keys;

	/**
	 * 联系电话
	 */
	private String telephone;

	/**
	 * 联系地址
	 */
	private String address;

	/**
	 * 有效期（日期插件：年月日）
	 */
	private String validity;

	/**
	 * 联系人
	 */
	private String contact;

	/**
	 * 备注
	 */
	private String remarks;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateIpAddress() {
		return createIpAddress;
	}

	public void setCreateIpAddress(String createIpAddress) {
		this.createIpAddress = createIpAddress;
	}

	public String getAvatarImg() {
		return avatarImg;
	}

	public void setAvatarImg(String avatarImg) {
		this.avatarImg = avatarImg;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobilephone() {
		return mobilephone;
	}

	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}

	public Integer getMemberId() {
		return memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getProfession() {
		return profession;
	}

	public void setProfession(String profession) {
		this.profession = profession;
	}

	public String getResearchField() {
		return researchField;
	}

	public void setResearchField(String researchField) {
		this.researchField = researchField;
	}

	public String getWorkunit() {
		return workunit;
	}

	public void setWorkunit(String workunit) {
		this.workunit = workunit;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getCertificateType() {
		return certificateType;
	}

	public void setCertificateType(Integer certificateType) {
		this.certificateType = certificateType;
	}

	public String getCertificateNumber() {
		return certificateNumber;
	}

	public void setCertificateNumber(String certificateNumber) {
		this.certificateNumber = certificateNumber;
	}

	public Integer getLoginMode() {
		return loginMode;
	}

	public void setLoginMode(Integer loginMode) {
		this.loginMode = loginMode;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public String getSina() {
		return sina;
	}

	public void setSina(String sina) {
		this.sina = sina;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public BigDecimal getPayment() {
		return payment;
	}

	public void setPayment(BigDecimal payment) {
		this.payment = payment;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getKeys() {
		return keys;
	}

	public void setKeys(String keys) {
		this.keys = keys;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getValidity() {
		return validity;
	}

	public void setValidity(String validity) {
		this.validity = validity;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}
